package com.example.demo.mapper;

import com.example.demo.model.dataobject.FileMetadataDO;
import com.example.demo.model.SearchOptions;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FileMetadataMapper {
    List<FileMetadataDO> selectAll();

    int insertBatch(List<FileMetadataDO> fileMetadataList);

    List<FileMetadataDO> selectFileMetadata(SearchOptions searchOptions);

    int deleteFileMetadata(List<FileMetadataDO> fileMetadataList);
}
